package com.ruoyi.domain;

import java.util.Date;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 著作对象 lhq_work
 * 
 * @author ruoyi
 * @date 2020-09-08
 */
public class LhqWork extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 序号 */
    @Excel(name = "序号")
    private Long serialNumber;

    /** 类别 */
    @Excel(name = "类别")
    private String category;

    /** 著作名称 */
    @Excel(name = "著作名称")
    private String titleOfWork;

    /** ISBN/CIP */
    @Excel(name = "ISBN/CIP")
    private String isbnCip;

    /** 出版社 */
    @Excel(name = "出版社")
    private String press;

    /** 主编 */
    @Excel(name = "主编")
    private String chiefEditor;

    /** 副主编 */
    @Excel(name = "副主编")
    private String deputyEditorInChief;

    /** 编者 */
    @Excel(name = "编者")
    private String editor;

    /** 出版时间 */
    @Excel(name = "出版时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date publicationTime;

    /** 赋分 */
    @Excel(name = "赋分")
    private Integer naturalEndowments;

    /** 奖励 */
    @Excel(name = "奖励")
    private Integer reward;

    /** 上传人 */
    @Excel(name = "上传人")
    private String applicant;

    private Long uid;

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public Long getUid() {
        return uid;
    }

    public void setUid(Long uid) {
        this.uid = uid;
    }

    /** 文件 */
    @Excel(name = "文件")
    private String file;

    /** 审批 */
    @Excel(name = "审批")
    private Long examineApprove;

    /** 备案 */
    @Excel(name = "备案")
    private Long keepOnRecord;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setSerialNumber(Long serialNumber) 
    {
        this.serialNumber = serialNumber;
    }

    public Long getSerialNumber() 
    {
        return serialNumber;
    }
    public void setCategory(String category) 
    {
        this.category = category;
    }

    public String getCategory() 
    {
        return category;
    }
    public void setTitleOfWork(String titleOfWork) 
    {
        this.titleOfWork = titleOfWork;
    }

    public String getTitleOfWork() 
    {
        return titleOfWork;
    }
    public void setIsbnCip(String isbnCip) 
    {
        this.isbnCip = isbnCip;
    }

    public String getIsbnCip() 
    {
        return isbnCip;
    }
    public void setPress(String press) 
    {
        this.press = press;
    }

    public String getPress() 
    {
        return press;
    }
    public void setChiefEditor(String chiefEditor) 
    {
        this.chiefEditor = chiefEditor;
    }

    public String getChiefEditor() 
    {
        return chiefEditor;
    }
    public void setDeputyEditorInChief(String deputyEditorInChief) 
    {
        this.deputyEditorInChief = deputyEditorInChief;
    }

    public String getDeputyEditorInChief() 
    {
        return deputyEditorInChief;
    }
    public void setEditor(String editor) 
    {
        this.editor = editor;
    }

    public String getEditor() 
    {
        return editor;
    }
    public void setPublicationTime(Date publicationTime) 
    {
        this.publicationTime = publicationTime;
    }

    public Date getPublicationTime() 
    {
        return publicationTime;
    }
    public void setNaturalEndowments(Integer naturalEndowments) 
    {
        this.naturalEndowments = naturalEndowments;
    }

    public Integer getNaturalEndowments() 
    {
        return naturalEndowments;
    }
    public void setReward(Integer reward) 
    {
        this.reward = reward;
    }

    public Integer getReward() 
    {
        return reward;
    }
    public void setApplicant(String applicant) 
    {
        this.applicant = applicant;
    }

    public String getApplicant() 
    {
        return applicant;
    }
    public void setFile(String file) 
    {
        this.file = file;
    }

    public String getFile() 
    {
        return file;
    }
    public void setExamineApprove(Long examineApprove) 
    {
        this.examineApprove = examineApprove;
    }

    public Long getExamineApprove() 
    {
        return examineApprove;
    }
    public void setKeepOnRecord(Long keepOnRecord) 
    {
        this.keepOnRecord = keepOnRecord;
    }

    public Long getKeepOnRecord() 
    {
        return keepOnRecord;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("serialNumber", getSerialNumber())
            .append("category", getCategory())
            .append("titleOfWork", getTitleOfWork())
            .append("isbnCip", getIsbnCip())
            .append("press", getPress())
            .append("chiefEditor", getChiefEditor())
            .append("deputyEditorInChief", getDeputyEditorInChief())
            .append("editor", getEditor())
            .append("publicationTime", getPublicationTime())
            .append("naturalEndowments", getNaturalEndowments())
            .append("reward", getReward())
            .append("applicant", getApplicant())
            .append("file", getFile())
            .append("examineApprove", getExamineApprove())
            .append("keepOnRecord", getKeepOnRecord())
            .toString();
    }
}
